package com.jingdianjichi.subject.domain.convert;

import com.jingdianjichi.subject.domain.entity.SubjectLabelBo;
import com.jingdianjichi.subject.infra.basic.entity.SubjectLabel;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectLabelBoConverter {

    SubjectLabelBoConverter INSTANCE= Mappers.getMapper(SubjectLabelBoConverter.class);

    SubjectLabel converBoToEntity(SubjectLabelBo subjectLabelBo);


    List<SubjectLabelBo> convertEntityListToBo(List<SubjectLabel> subjectLabelList);
}
